<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>展示</title>
    <link rel="stylesheet" href="/static/css/bootstrap.css">

</head>
<body>
<form >
    <input type="text" name="keyword"><input type="submit" value="搜索">
</form>
<table class="table">
    <tr>
        <th>ID</th>
        <th>图片</th>
        <th>姓名</th>
        <th>月薪</th>
        <th>公司</th>
        <th>专业</th>
        <th>操作</th>
    </tr>
    {foreach $data as $k=>$v}
    <tr>
        <td>{$v.id}</td>
        <td><img src="{$v.img}" style="width: 80px"></td>
        <td>{$v.username}</td>
        <td>{$v.salary}</td>
        <td>{$v.company}</td>
        <td>{$v.professional}</td>
        <td><a href="del?id={$v.id}">删除</a></td>
    </tr>
    {/foreach}
</table>

</body>
</html>